using UniversalAdminSystem.Domian.UserManagement.ValueObj;

namespace UniversalAdminSystem.Application.UserManagement.Dtos;

public record UserDto
{
    public Guid Id { get; set; }
    public string Account { get; set; }
    public string Email { get; set; }
    public UserStatus UserStatus { get; set; }

    public string? RoleName { get; set; }


    public UserDto(Guid id, string account, string email, UserStatus userStatus, string? rolename  = null)
    {
        Id = id;
        Account = account;
        Email = email;
        UserStatus = userStatus;
        RoleName = rolename;
    }
}

